package net.ib.rpc.method;

import com.google.protobuf.Descriptors.MethodDescriptor;
import com.google.protobuf.Service;

/**
 * m&talk server timeout MethodInfo
 * 
 * @author zagals@infobank.net
 * @version 1.0
 * @since 11/02/24
 * @history
 */
public class MethodInfo {

	private final Service service;
	private final MethodDescriptor method;

	public MethodInfo(Service service, MethodDescriptor method) {
		this.service = service;
		this.method = method;
	}

	public Service getService() {
		return service;
	}

	public MethodDescriptor getMethod() {
		return method;
	}
}